<!DOCTYPE html>
<html>
    <head>
        <title>User Agent</title>
        <meta name="viewport" content="width=device-width, initial-scale=1">
    </head>
    <body>
        <script>
            alert(navigator.userAgent)
        </script>
    </body>
</html>